Developer Documentation

QuickTime 4 API Documentation

QuickTime 4 Reference

| Previous | Chapter Contents | Chapter Top | Next |

Constants

The following constants have been added to the list of selectors that can be passed to SCGetInfo and SCSetInfo . These selectors are only supported by the standard sound dialog component, not the standard image-compression dialog component.

scSoundSampleRateType
A pointer to an UnsignedFixed value that represents the current sample rate.

scSoundSampleSizeType
A pointer to a short integer that represents the current sample size. This value is either 8 or 16.

scSoundChannelCountType
A pointer to a short integer that represents the current number of channels. This value is either 1 or 2.

scSoundCompressionType
A pointer to a value of type OSType that represents the current compression type. This value is either kRawCodecType or one of the available sound compression formats.

scCompressionListType
A pointer to a handle containing an array of values of type OSType that indicate the sound compression formats that may be presented to the user. Pass nil to SCSetInfo to reset the list to all available sound compression formats.

The standard sound dialog component also supports the following selectors.

scPreferenceFlagsType
The only flag that is supported in the preferences is scUseMovableModal . All other flags should be set to zero. The preference flags are initialized to scUseMovableModal when the standard sound dialog component is instantiated.

scExtendedProcsType
The only fields supported are filterProc and refcon . All other fields should be initialized to zero. The filter procedure should only be used to update background windows. It should not be used to intercept user interactions in the dialog box window itself.

scSettingsStateType
This selector is supported in the same way as in the standard image-compression component.


© 1999 Apple Computer, Inc.

| Previous | Chapter Contents | Chapter Top | Next |